//
//  PSSelectCityView.h
//  Btpin
//
//  Created by Vic on 2019/3/30.
//  Copyright © 2019 Vic. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, CityState) {
    CityStateSecondary = 0, //二级城市
    CityStateThird           //三级城市
};

NS_ASSUME_NONNULL_BEGIN

@interface PSSelectCityView : UIView

- (instancetype)initCityData:(NSArray *)array CityState:(CityState)state;

//获取省市区
- (NSDictionary *)getProvince;
- (NSDictionary *)getCity;
- (NSDictionary *)getArea;

- (NSDictionary *)getAllCityInfo;

@end

NS_ASSUME_NONNULL_END
